import java.util.Scanner;

public class HeyuCha {
    public static void main(String[] args) {

        Scanner sc = new Scanner ( System.in);


        System.out.println("第一个整数");
        int num3 = sc.nextInt();

        System.out.println("第二个整数");

        int num2 = sc.nextInt();
        int sum = num3 + num2;
        int difference = num3 - num2;

        System.out.println("两数之和为: " + sum);
        System.out.println("两数之差为: " + difference);
    }}

